/*
 * @(#)PaymentCallbackBean.java 创建于 2016-05-23 15:32:49
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package hcn.protocol.ods.inpatient;

import ctd.util.xml.jaxb.DateTimeAdapter;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;

/**
 * @author <a href="mailto:chinnsii@163.com">zhengshi</a>
 */
@XmlRootElement(name = "")
@SuppressWarnings("serial")
public class PayedNotifyBean implements Serializable {

    private String tradeNo;
    private String tradeType;
    private String orgId;
    private String idCard;
    private String inpatientSerialNo;
    private String payType;
    private double payedAmount;
    private Date payedTime;
    private Date finishTime;

    @XmlElement
    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    @XmlElement
    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    @XmlElement
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    @XmlElement
    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    @XmlElement
    public String getInpatientSerialNo() {
        return inpatientSerialNo;
    }

    public void setInpatientSerialNo(String inpatientSerialNo) {
        this.inpatientSerialNo = inpatientSerialNo;
    }

    @XmlElement
    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    @XmlElement
    public double getPayedAmount() {
        return payedAmount;
    }

    public void setPayedAmount(double payedAmount) {
        this.payedAmount = payedAmount;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getPayedTime() {
        return payedTime;
    }

    public void setPayedTime(Date payedTime) {
        this.payedTime = payedTime;
    }

    @XmlElement
    @XmlJavaTypeAdapter(DateTimeAdapter.class)
    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }
}
